package com.ruoyi.channel.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 招聘信息对象 tb_work_message
 * 
 * @author ruoyi
 * @date 2023-01-29
 */
public class TbWorkMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 招聘id */
    private Long workId;

    /** 招聘名称 */
    @Excel(name = "招聘名称")
    private String workName;

    /** 招聘信息简介 */
    @Excel(name = "招聘信息简介")
    private String workDesc;

    /** 最大年龄 */
    @Excel(name = "最大年龄")
    private String maxage;

    /** 最小年龄 */
    @Excel(name = "最小年龄")
    private String minage;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long workTypeId;

    /** 最大薪资 */
    @Excel(name = "最大薪资")
    private BigDecimal maxsalary;

    /** 最小薪资 */
    @Excel(name = "最小薪资")
    private BigDecimal minsalary;

    /** 招聘人数 */
    @Excel(name = "招聘人数")
    private String peopleCount;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 工作时长 */
    @Excel(name = "工作时长")
    private String workTime;

    /** 招聘人关联用户 */
    @Excel(name = "招聘人关联用户")
    private Long userId;

    /** 删除状态 0未删除 2已删除 */
    private Integer delFlag;

    /** 招聘开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招聘开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 招聘结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "招聘结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 招聘状态 0继续招聘  1取消招聘 */
    @Excel(name = "招聘状态 0继续招聘  1取消招聘")
    private Integer status;

    public void setWorkId(Long workId) 
    {
        this.workId = workId;
    }

    public Long getWorkId() 
    {
        return workId;
    }
    public void setWorkName(String workName) 
    {
        this.workName = workName;
    }

    public String getWorkName() 
    {
        return workName;
    }
    public void setWorkDesc(String workDesc) 
    {
        this.workDesc = workDesc;
    }

    public String getWorkDesc() 
    {
        return workDesc;
    }
    public void setMaxage(String maxage) 
    {
        this.maxage = maxage;
    }

    public String getMaxage() 
    {
        return maxage;
    }
    public void setMinage(String minage) 
    {
        this.minage = minage;
    }

    public String getMinage() 
    {
        return minage;
    }
    public void setWorkTypeId(Long workTypeId) 
    {
        this.workTypeId = workTypeId;
    }

    public Long getWorkTypeId() 
    {
        return workTypeId;
    }
    public void setMaxsalary(BigDecimal maxsalary) 
    {
        this.maxsalary = maxsalary;
    }

    public BigDecimal getMaxsalary() 
    {
        return maxsalary;
    }
    public void setMinsalary(BigDecimal minsalary) 
    {
        this.minsalary = minsalary;
    }

    public BigDecimal getMinsalary() 
    {
        return minsalary;
    }
    public void setPeopleCount(String peopleCount) 
    {
        this.peopleCount = peopleCount;
    }

    public String getPeopleCount() 
    {
        return peopleCount;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setWorkTime(String workTime) 
    {
        this.workTime = workTime;
    }

    public String getWorkTime() 
    {
        return workTime;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("workId", getWorkId())
            .append("workName", getWorkName())
            .append("workDesc", getWorkDesc())
            .append("maxage", getMaxage())
            .append("minage", getMinage())
            .append("workTypeId", getWorkTypeId())
            .append("maxsalary", getMaxsalary())
            .append("minsalary", getMinsalary())
            .append("peopleCount", getPeopleCount())
            .append("companyName", getCompanyName())
            .append("workTime", getWorkTime())
            .append("userId", getUserId())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("status", getStatus())
            .toString();
    }
}
